/*
Rule 14.7 (r)
A function shall have a single point of exit at the end of the function.
*/


#include <stdio.h>

typedef int int32_t;



int32_t b;
int32_t c;

void f(void);
void f(void)
{ 
  scanf("%d",&b);
  scanf("%d",&c);
  switch(b){
    case 1: {
	          switch(c){
	            case 1: printf("1.1\n");
			    case 2: printf("1.2\n");
			          break;
			    default: printf("1.end\n");	  
	          }
			}
	        printf("1\n");
	        break;
	case 2: printf("2\n");
	        break;
	default: printf("end\n");
  }  
}



int32_t main(void)
{

   f();
  return 0;
}
